<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <title>My 'Edit' starting page</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>
<body>
<!-- *************************PageOffice组件的使用******************************** -->
<script type="text/javascript">
    function OnPageOfficeCtrlInit() {
        // PageOffice的初始化事件回调函数，您可以在这里添加自定义按钮
        pageofficectrl.AddCustomToolButton("保存", "Save", 1);
    }
    function Save() {
        //获取POBrowser.openWindow第三个参数，文件id
        var id = pageofficectrl.WindowParams;
        //设置保存方法
        pageofficectrl.SaveFilePage="/ExaminationPaper/save?id="+id;
        pageofficectrl.WebSave();
    }
</script>

<div style="width: auto; height: 700px;" th:utext="${pageoffice}">

</div>
</body>
</html>
